<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>登录成功</title>
        <style>
            * {
                box-sizing: border-box;
            }
            ::-webkit-scrollbar-track-piece {
                background-color: #f5f5f5;
                border-left: 1px solid #d2d2d2;
            }
            ::-webkit-scrollbar-thumb {
                background-color: #c2c2c2;
                background-clip: padding-box;
                border: 1px solid #979797;
                min-height: 28px;
            }
            ::-webkit-scrollbar {
                width: 13px;
                height: 13px;
            }
            :before,
            :after {
                -webkit-box-sizing: border-box;
                -moz-box-sizing: border-box;
                box-sizing: border-box;
            }
            .clearfix:before,
            .clearfix:after {
                content: " ";
                display: table;
            }
            .clearfix:after {
                clear: both;
            }
            body,
            h1 {
                margin: 0;
                padding: 0;
                border: 0;
            }
            .errors-login-failure-wrap {
                width: 420px;
                margin-left: -210px;
                height: 374px;
                margin-top: -187px;
                position: absolute;
                top: 50%;
                left: 50%;
            }
            .errors-login-fialure-con {
                padding: 24px 20px 14px;
                margin-top: -15px;
            }
            img {
                vertical-align: middle;
                margin: 0 auto;
                margin-left: 108px;
            }
            h1 {
                line-height: 1.1;
                font-weight: normal;
                margin-bottom: 32px;
                padding-bottom: 26px;
                font-size: 28px;
                text-align: center;
                color: #2b2c2d;
                background: url() no-repeat bottom center;
            }
        </style>
    </head>
    <body style="font-family:Microsoft Yahei;">
        <div class="errors-login-failure-wrap">
            <div class="errors-login-fialure-con clearfix" style="border: none;">
                  <img width="183" height="112" src=""/>
                <h1>登录成功</h1>
                <input type="hidden" id="is_ajax_id" value='1' />
                <textarea id="refer_url_id" style="display:none"></textarea>
            </div>
        </div>
    </body>
    <script>
        document.domain = '{{ SESSION_COOKIE_DOMAIN }}'

        document.addEventListener('DOMContentLoaded', function () {
            var is_ajax = window.location.href.match(/is\_ajax\=(\d+)/)
            if (is_ajax && is_ajax[1]) {
                parent.bus.$emit('close-login-modal')
            } else {
                console.warn('#TODO  实现页面跳转')
            }
        })
    </script>
</html>
